package com.sdk.bigdata.model;

public class DataConfig {
    // 游戏类型[CAG,RPG,SLG,CAG,MOBA,...]
    private String gameType;

    // 游戏id
    private Integer gameId;

    // 游戏id的秘钥
    private String secret;

    // 数据上报接口地址
    private String url;

    // 接口请求timeout 秒级时间
    private Long timeout;

    // 日志level级别,默认info
    private String logLevel;

    // 定时上报数据的crontab描述符, 默认"0/10 * * * * ?"
    private String cronSpec;

    // 批量数据上报的最大条数, 1为单条
    private Integer maxSize;

    // 数据队列缓存长度
    private Integer maxQueue;

    // 最大消费者数量,上报数据的消费者数量
    private Integer maxConsumer;

    // 压缩算法,暂时不支持,请填写None
    private String Compression;

    // 时区
    private String timezone;


    public String getGameType() {
        return gameType;
    }

    public void setGameType(String gameType) {
        this.gameType = gameType;
    }

    public Integer getGameId() {
        return gameId;
    }

    public void setGameId(Integer gameId) {
        this.gameId = gameId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }

    public String getLogLevel() {
        return logLevel;
    }

    public void setLogLevel(String logLevel) {
        this.logLevel = logLevel;
    }

    public String getCronSpec() {
        return cronSpec;
    }

    public void setCronSpec(String cronSpec) {
        this.cronSpec = cronSpec;
    }

    public Integer getMaxSize() {
        return maxSize;
    }

    public void setMaxSize(Integer maxSize) {
        this.maxSize = maxSize;
    }

    public Integer getMaxQueue() {
        return maxQueue;
    }

    public void setMaxQueue(Integer maxQueue) {
        this.maxQueue = maxQueue;
    }

    public Integer getMaxConsumer() {
        return maxConsumer;
    }

    public void setMaxConsumer(Integer maxConsumer) {
        this.maxConsumer = maxConsumer;
    }

    public String getCompression() {
        return Compression;
    }

    public void setCompression(String compression) {
        Compression = compression;
    }

    public String getTimezone() {
        return timezone;
    }

    public void setTimezone(String timezone) {
        this.timezone = timezone;
    }
}
